/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package demo;

import java.io.IOException;
import java.util.Vector;
import javax.microedition.lcdui.game.Sprite;
import javax.microedition.lcdui.game.TiledLayer;

/**
 *
 * @author tmp
 */
public abstract class Fase {

    protected Vector telasColisao = new Vector();
    protected Vector telasSemColisao = new Vector();
    protected Vector latas = new Vector();
    protected Vector cacadores = new Vector();
    protected TiledLayer camadaMudarFase;
    
    public abstract void init(DemoGameCanvas jogo) throws IOException;

    public abstract boolean spriteCollides(Sprite sprite);

    public abstract void adjustViewport(int x, int y);

    public abstract void run();

    public abstract void stop();

    public abstract void adjustViewport(DemoGameCanvas jogo, int x, int y);

    public Vector getCacadores() {
        return this.cacadores;
    }

    public Vector getTelasSemColiao() {
        return this.telasSemColisao;
    }

    public Vector getTelasColisao() {
        return this.telasColisao;
    }

   public abstract boolean  isBodeVisto(Sprite spriteBode1);

    public abstract boolean isComeu(Sprite spriteBode1);

    public abstract boolean isMudarFase(Sprite spriteBode1);
    
}
